﻿#define _CRT_SECURE_NO_WARNINGS//模拟实现strlen
#include<stdio.h>
my_strlen(char* p)
{
	int count = 0;
	while (*p != '\0')
	{
		p++;
		count++;
	}
	return count;
}
int main()
{
	char arr[] = "abcdef";
	int ret = my_strlen(arr);
	printf("%d", ret);


	return 0;
}